-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- DirectoryOtherMediaModel
Total Complexity |
79 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
620 |
Lines of code |
403 |
Logical lines of code |
235 |
Comment lines |
81 |
Methods |
17 |
Properties |
13 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
checkDirectory() |
B |
39 |
16 |
72 |
addImages() |
A |
45 |
10 |
44 |
loadFolder() |
A |
52 |
9 |
21 |
refreshFolder() |
A |
43 |
7 |
50 |
save() |
S |
46 |
5 |
41 |
recurseLastChangeFile() |
S |
53 |
6 |
24 |
getStats() |
S |
51 |
3 |
28 |
delete() |
S |
51 |
3 |
28 |
getAllStats() |
S |
54 |
3 |
21 |
updateFileContentChange() |
S |
62 |
3 |
12 |
__construct() |
S |
62 |
2 |
14 |
loadFolderByPath() |
S |
60 |
2 |
14 |
get() |
S |
73 |
2 |
5 |
isRemoved() |
S |
72 |
2 |
6 |
timestampToDB() |
S |
72 |
2 |
5 |
DBtoTimestamp() |
S |
66 |
2 |
10 |
set() |
S |
67 |
2 |
8 |